package com.neusoft.neuiotms.dcom.dto;

import com.neusoft.bizcore.web.dto.AbstractAuditDTO;
import com.neusoft.neuiotms.dcom.model.enums.MaintainRuleSource;
import com.neusoft.neuiotms.dcom.model.enums.MaintainRuleStatus;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class MaintainRuleDTO extends AbstractAuditDTO {

    private static final long serialVersionUID = 8991082036655715470L;

    /** 编码 **/
    private String code;

    /** 名称 **/
    private String name;

    /** 维护类别 **/
    private String modelCode;

    /** 维护类别名称 **/
    private String modelName;

    /** 是否停止服务 **/
    private boolean suspendService = false;

    /** 规则状态 **/
    private MaintainRuleStatus status = MaintainRuleStatus.disable;

    /** 量化时间(小时) **/
    private int quantifyingTime;

    /** 维护说明 **/
    private String description;

    /** 创建人编码 **/
    private Long userId;

    /** 创建人名称 **/
    private String userName;

    /** 来源 **/
    private MaintainRuleSource source = MaintainRuleSource.newcreate;

}
